<div class="grid_9 col1">
    <h2>
        <a href="/tin-tuc" title="Thông tin mới">Thông tin mới</a>
    </h2>
    <?php
    $list_news = '';
    if (isset($news) && count($news) > 0) :
        foreach ($news as $key => $item) {
            $thumbnail = ($item->thumbnail != '') ? $item->thumbnail : '/images/noimage.jpg';
            $uri = get_base_url() . url_title(trim($item->category), 'dash', TRUE) . '/' . url_title(trim($item->title), 'dash', TRUE) . '-n' . $item->cat_id . '-' . $item->id;
            if ($key === 0) {
                ?>
                <div class="first-itm">
                    <img class="left" src="<?php echo $thumbnail; ?>" alt="<?php echo $item->title; ?>">
                    <a href="<?php echo $uri; ?>" title="<?php echo $item->title; ?>"><?php echo $item->title; ?></a>
                    <p></p>
                    <div class="clear"></div>
                </div>
                <?php
            } else {
                $list_news .= '
                    <li>
                        <a href="' . $uri . '" title="' . $item->title . '">' . $item->title . '</a>
                    </li>';
            }
        }
    endif;
    ?>
    <ul>
        <?php echo $list_news; ?>
    </ul>
    <div class="colright">
        <a target="_self" href="/tin-tuc" title="Thông tin mới">Xem thêm</a>
    </div>
</div>
